Merged
Conversation
ocasta181
reviewed
Oct 31, 2022
saito-sv
reviewed
Oct 31, 2022
saito-sv
reviewed
Oct 31, 2022
| assert.Equal(t, obj1, obj1Decoded) | ||
| } | ||
|
|
||
| func TestEncodeDecodeObject(t *testing.T) { |
There was a problem hiding this comment.
looks like these test are quite similar, maybe doing table testing pattern is a good approach here?
saito-sv
reviewed
Oct 31, 2022
saito-sv
reviewed
Oct 31, 2022
saito-sv
reviewed
Oct 31, 2022
saito-sv
reviewed
Nov 1, 2022
saito-sv
reviewed
Nov 1, 2022
saito-sv
reviewed
Nov 1, 2022
saito-sv
reviewed
Nov 1, 2022
saito-sv
reviewed
Nov 1, 2022
saito-sv
reviewed
Nov 1, 2022
| return common.StringError(errors.New("wallet not associated with user")) | ||
| } | ||
| // Encrypt required data to Base64 string and insert it in an email hyperlink | ||
| key := os.Getenv("STRING_ENCRYPTION_KEY") |
Contributor
Author
There was a problem hiding this comment.
A 32 character sequence which results in SHA256 encryption
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Onboarding API is working! Testing instructions:
Add the SendGrid API key to your .env (I will send this to you)
You may need to update the 'network' table in your local string_db be
cause the previous RPC for ETH mainnet is deprecated and we are now using that RPC to verify the users wallet: network.csv
Import the updated Insomnia configuration (it's zipped because Github doesn't allow JSON attachments):
Insomnia_String_API_OCT_31_2022.json.zip
Make sure you have a valid API key and JWT by using Platform Create, Auth Register, Auth Login. Place the API key in the Header as 'X-Api-Key' and place the JWT in the Bearer under Token
Hit all the User endpoints:
EDIT: If you need all the SQL tables they are here:
sql.zip